package com.eden.illness.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

public class GraphAdd {
    //日期
    private String date;
    //新增确诊人数
    private int addConfirm;
    //疑似确诊人数
    private int addSuspect;

    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }

    public int getAddConfirm() {
        return addConfirm;
    }

    public void setAddConfirm(int addConfirm) {
        this.addConfirm = addConfirm;
    }

    public int getAddSuspect() {
        return addSuspect;
    }

    public void setAddSuspect(int addSuspect) {
        this.addSuspect = addSuspect;
    }

    public GraphAdd() {
        super();
    }

    public GraphAdd(String date, int addConfirm, int addSuspect) {
        this.date = date;
        this.addConfirm = addConfirm;
        this.addSuspect = addSuspect;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("date", getDate())
                .append("addConfirm", getAddConfirm())
                .append("addSuspect", getAddSuspect())
                .toString();
    }
}
